//
//  MyOrderViewController.m
//  口袋
//
//  Created by tiankun on 15/5/22.
//  Copyright (c) 2015年 口袋. All rights reserved.
//

#import "MyOrderViewController.h"

@interface MyOrderViewController ()

@end

@implementation MyOrderViewController
- (void)dealloc
{
    [super dealloc];
}
- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        [self.view setFrame:CGRectMake(self.view.frame.size.width, 0, self.view.frame.size.width, self.view.frame.size.height - 110)];
    }
    return self;
}
- (void)loadView
{
    [super loadView];
    UIWebView *web = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height - 64)];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://dy.163.com/v2/media/medialist/C1378977941637-1.html"]];
    [web loadRequest:request];
    [self.view addSubview:web];
    [web release];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view setBackgroundColor:[UIColor purpleColor]];
    // Do any additional setup after loading the view.
}


@end
